<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			function goBack(){
				alert(window.location.hash);
				alert(window.location.search);
				window.history.back();
			}
			function rep(){
				//window.location="http://www.bdqn.cn";
				window.location.replace("http://www.bdqn.cn");
			}
		</script>
	</head>
	<body>
		<a href="js10.html">跳转</a>
		<input type="button" value="回去" onclick="goBack()"/>
		<input type="button" value="刷新" onclick="window.location.reload()"/>
		<input type="button" value="替换" onclick="rep()"/>
		
	</body>
</html>
